package com.lc.fbtp.draftmsg.api.paper.cas.cas001;

import com.lc.fbtp.draftmsg.api.paper.MainBody;
import com.lc.fbtp.draftmsg.api.paper.MsgId;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 票据业务结算结果通知报文
 * @author yeyun20029
 *
 */
public class CAS001 extends MainBody {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 2465867681718161285L;

	/**
	 * 报文标识
	 */
	@XStreamAlias("MsgId")
	private MsgId MsgId;
	
	/**
	 * 结算信息
	 */
	@XStreamAlias("StlInf")
	private StlInf StlInf;
	
	/**
	 * 结算结果信息
	 */
	@XStreamAlias("StlRstInf")
	private StlRstInf StlRstInf;

	public MsgId getMsgId() {
		return MsgId;
	}

	public void setMsgId(MsgId msgId) {
		MsgId = msgId;
	}

	public StlInf getStlInf() {
		return StlInf;
	}

	public void setStlInf(StlInf stlInf) {
		StlInf = stlInf;
	}

	public StlRstInf getStlRstInf() {
		return StlRstInf;
	}

	public void setStlRstInf(StlRstInf stlRstInf) {
		StlRstInf = stlRstInf;
	}

	@Override
	public String getId() {
		return MsgId.getId();
	}

	@Override
	public String getDtTm() {
		return MsgId.getCreDtTm();
	}

	@Override
	public String getOrgnlId() {
		return null;
	}
	
}
